package com.base.service.workflow.entity;

import com.base.core.framework.sql.entity.BaseV1Ext;
import com.gitee.magic.jdbc.persistence.annotation.Entity;
import com.gitee.magic.jdbc.persistence.annotation.Table;
import com.gitee.magic.jdbc.persistence.source.jdbc.script.annotations.ColumnDef;
import com.gitee.magic.jdbc.persistence.source.jdbc.script.annotations.Indexes;
import com.gitee.magic.jdbc.persistence.source.jdbc.script.annotations.TableDef;
import com.gitee.magic.jdbc.persistence.source.jdbc.script.annotations.indexes.Normal;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

/**
 * @author start 
 * @date 2022-03-29 13:57:28
 */
@Getter@Setter@ToString
@Entity("transfer")
@Table("wor_transfer")
@TableDef(comment = "转交记录")
public class TransferDO extends BaseV1Ext {

	private static final long serialVersionUID = 1L;
	
	public TransferDO(){}

    @ColumnDef(indexes = @Indexes(normal = @Normal), comment = "来源分配ID")
	private Long formAssignmentId;
    
    @ColumnDef(indexes = @Indexes(normal = @Normal), comment = "目标分配ID")
	private Long toAssignmentId;

    @ColumnDef(indexes = @Indexes(normal = @Normal), comment = "用户ID")
	private Long userId;

}
